<extend name="Template/index"/>
<block name="title">
    个人信息
</block>  
<block name="carousel"></block>
<block name="nav-pos">
	<span class="glyphicon glyphicon-home"></span>
	<li>您当前所在位置 ：</li>
	<li><a href="{:U('Index/index')}">首页</a></li>
	<li><a href="{:U('Project/index')}">项目中心</a></li>	
    <li><a href="{:U('Project/project_details')}">项目信息</a></li>
    <li>发布人详情</li>
</block>
<block name="main">
<link rel="stylesheet" type="text/css" href="__PUBLIC__/home/css/personalCenter.css"/>
		<div id="main">
			<div class="main">
				<div id="personalCenterDetails">
					<div id="personalCenter">
						<ul class="personalCenter">
							<li class="headPortrait"><a href="javascript:;"><if condition="$user['image_id'] eq ''">未上传头像<else/><img src="__PUBLIC__/{$user.image_id}" class="img-circle" height="100" width="100"></if></a></li>
							<li><div class="personalCenterTitle">昵称</div><span class="personalCenterContent">{$user.nickname}</span></li>
                            <li><div class="personalCenterTitle">用户</div><span class="personalCenterContent">{$user.user_name}</span></li>
                           	<li><div class="personalCenterTitle">性别</div><span class="personalCenterContent"><if condition="$user['sex'] eq 2">女<elseif condition="$user['sex'] eq 1"/>男<else/>未确认</if></span></li>
							<li><div class="personalCenterTitle">积分</div><span class="personalCenterContent">{$user.integral}</span></li>
                            <li><div class="personalCenterTitle">VIP</div><span class="personalCenterContent">{$user.vip}</span></li>
							<li><div class="personalCenterTitle">年龄</div><span class="personalCenterContent">{$user.age} 岁</span></li>
							<li><div class="personalCenterTitle">学位</div><span class="personalCenterContent">
							<volist name="degree" id="vo">
							<if condition="$vo['degree_id'] eq $user['degree']">{$vo.degree_name}</if>
							</volist>
							</span></li>
                            <li><div class="personalCenterTitle">注册时间</div><span class="personalCenterContent">{$user.create_time|date="Y-m-d H:i:s",###}</span></li>
							<li class="presentAddress"><div  style="text-align: center;font-size:20px;"><a href="{:U('project/publishedProject')}?id={$user.id}">点击查看用户发表的项目</a></div></li>
						</ul>
					</div>
				</div>
			</div>
		</div>
</block>